package com.hibuy.pc.service.shiro.impl;

import com.hibuy.pc.mapper.shiro.UserRoleMapper;
import com.hibuy.pc.model.shiro.UserRole;
import com.hibuy.pc.service.shiro.UserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserRoleServiceImpl implements UserRoleService {

    @Autowired
    private UserRoleMapper userRoleMapper;

    @Override
    public UserRole addUserRole(UserRole userRole) {

       return userRoleMapper.addUserRole(userRole);
    }
}
